// 通用
const defaultJson = {
  type: "cButton",
  disabled: false,
  section: [],
};

const json = {
  key: "cButton",
  name: "cButton",
  default() {
    // 默认值
    return Object.assign(
      {
        // 个性化值
      },
      defaultJson
    );
  },
  panelCore: {
    model: [
      { field: "title", title: "名称", type: "el-input" },
      {
        field: "disabled",
        title: "是否禁用",
        type: "el-checkbox",
      },
    ],
  },
};

export default json;
